putTextVertices

int
putTextVertices

Parameters

font IHipFont

The font used as a reference to build the quad

vertices HipTextRendererVertexAPI[]

Output vertices

text string

The text to build the vertices

x int

Start X

y int

Start Y

depth float

Depth for possibly Z buffer

scale float

Rescaling the font

align_ HipTextAlign

Alignment on where it will show

bounds Size

-1 value will make it be ignored. If exists, it will be used both for word wrap and for alignment to the size specified

wordWrap bool

If the text will line-break if it reaches the size too big

shouldRenderSpace bool

Render ' ' characters or not.

Return Value

Type: int

Meta